<?php ini_set ( 'session.use_cookies', 1 );
		ini_set ( 'session.use_only_cookies', 1 );
		session_start ();?>





<?php
		$result=$this->result;
?>
<script type="text/javascript">
	function changevalue($id){
			
			var button=document.getElementById($id);
			button.value=$id;
						return true;
		}

</script>

<div class="center_title_bar">Thông Tin Tài Khoản</div>
    <div class="prod_box_big">
        <div class="top_prod_box_big"></div>
        <div class="center_prod_box_big">
			<form action="xemchitiet" method="get">
<center>
<table width="100%" border="1" id="myTable">
	<thead>
		<tr>
		<td>Mã tài khoản</td>
		<td>username</td>
		<td>Họ Tên</td>
		<td>Email</td>
		<td>Quản lý</td>
	</tr>
	
	</thead>
	
	
  <?php 
  	
  		foreach ($result as $one){
  		$taikhoan=$one;
//  		$taikhoan instanceof Application_Model_bean_TaiKhoan;
  		
  ?>
  	<tr>
		<td><?php echo($taikhoan->getMaTaiKhoan())?></td>
		<td><?php echo($taikhoan->getUsername())?></td>
		<td><?php echo($taikhoan->getHoVaTen())?></td>
		<td><?php echo($taikhoan->getEmail() )?></td>
		<td><input id="<?php echo $taikhoan->getMaTaiKhoan()?>" name="sub" type="submit" value="Xem Chi Tiết" onclick="return changevalue(<?php echo $taikhoan->getMaTaiKhoan()?>)">
		</input>
		
		</td>
	
	</tr>
	<?php }?>
</table>

</center>
</form>
        </div>
        <div class="bottom_prod_box_big"></div>
      </div>
